<?
require_once("classes/configura.php");
if ((!session_is_registered("login")) or ($_SESSION['valida']<>"asd0jsdfji07ij@-0_djf-657asd"))
{$ok = false;
}else{$ok = true; }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/webcosts.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<SCRIPT language=JavaScript src="classes/menu.js"></SCRIPT>
<!-- InstanceBeginEditable name="doctitle" -->
<title>:.WebCosts .: Sistema ...</title>
<script language="JavaScript" type="text/javascript">
 function setFocus(){document.logon.login.focus();}
</script>
<? $onLoad="";
if ($ok == false){$onLoad="setFocus()";}?>
<link rel="stylesheet" href="estilos/estilo.css" type="text/css" />
<!-- InstanceEndEditable -->
</head>
<body onLoad="<?=$onLoad?>">
<div id=tudo>
	<div id=topo>
    <H1><B class=destaque>WebCosts</B> - Controle de Custos</H1>
  </div>
  <div id=nav>
	<? if ($ok == true)@require("menu.php");?>
	</div>
	<div id=principal>
	<!-- InstanceBeginEditable name="conteudo" -->
	 <p>&nbsp;</p>
		<div id=apoio class="fixo">
	 <H1>Acesso Negado!</H1>
		<h3><B class=destaque><a href="javascript:window.history.back()">Ir para P&aacute;gina Anterior</a><br /><a href="index.php">Ir para P&aacute;gina Principal</a></B></h3>
	</div>
	<p>&nbsp;</p>
	<!-- InstanceEndEditable -->
	</div>
	<div id=rodape>
	<P><B class=destaque>WebCosts.: </B>Implementa&ccedil;&atilde;o Grupo Porreta II.</P>
  </div>
</div>
</body>
<!-- InstanceEnd --></html>
